from flask_wtf import Form
from wtforms import StringField,SubmitField,PasswordField
from wtforms.validators import DataRequired

class FormModifPassword(Form):
    newPW = StringField('new pw', validators=[DataRequired()])
    repPW = StringField('rep pw', validators=[DataRequired()])
    submit = SubmitField('Submit')

class FormLogin(Form):
    username = StringField('username',validators=[DataRequired()])
    password = PasswordField('password',validators=[DataRequired()])

    submit = SubmitField('Submit')

